
<!DOCTYPE html>
<html>
<head>
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>

<link rel="stylesheet" type="text/css" href="theme/layui/css/layui.css">
<link rel="stylesheet" type="text/css" href="theme/default/css/common.css">
<script src="theme/default/Js/Common.js"></script>
<script src="theme/default/Js/jquery-3.0.0.min.js"></script>
<script src="theme/default/js/artDialog.js?skin=blue"></script>
<link rel="stylesheet" type="text/css" href="include/webupload/webuploader.css">
<script src="include/webupload/webuploader.min.js"></script> 
<script src="include/webupload/uploads.js"></script>
<link rel='stylesheet' type="text/css" href='theme/desktop/css/font-awesome.min.css'>
<link rel="stylesheet" type="text/css" href="theme/desktop/css/desktop.css">

</head>
<body>

<script>
//显示
var funxs=function(){
	
var okon = document.getElementsByClassName('okon');
for (i = 0; i <= okon.length; i++) {
    //alert(i)
    if (okon[i].checked) {
        okon[i].parentNode.className = "okon_on";
    } else {
        okon[i].parentNode.className = "okonno";
    }
    okon[i].onclick = function() {
        if (this.checked) {
            this.parentNode.className = "okon_on";
        } else {
            this.parentNode.className = "okonno";
        }
    }
}	
	
}
//必填	
var funbt=function(){
	
var okon_bt = document.getElementsByClassName('okon_bt');
for (i = 0; i <= okon_bt.length; i++) {
    //alert(i)
    if (okon_bt[i].checked) {
        okon_bt[i].parentNode.className = "okon_on";
    } else {
        okon_bt[i].parentNode.className = "okonno";
    }
    okon_bt[i].onclick = function() {
        if (this.checked) {
            this.parentNode.className = "okon_on";
        } else {
            this.parentNode.className = "okonno";
        }
    }
}	
	
	
}
//隐藏	
var funyc=function(){
	
var okon_yc = document.getElementsByClassName('okon_yc');
for (i = 0; i <= okon_yc.length; i++) {
    //alert(i)
    if (okon_yc[i].checked) {
        okon_yc[i].parentNode.className = "okon_on";
    } else {
        okon_yc[i].parentNode.className = "okonno";
    }
    okon_yc[i].onclick = function() {
        if (this.checked) {
            this.parentNode.className = "okon_on";
        } else {
            this.parentNode.className = "okonno";
        }
    }
}	
	
}
//权限	
var funqx=function(){
	
var qxon = document.getElementsByClassName('qxon');
for (i = 0; i <= qxon.length; i++) {
    //alert(i)
    if (qxon[i].checked) {
        qxon[i].parentNode.className = "qxyes";
    } else {
        qxon[i].parentNode.className = "qxno";
    }
    qxon[i].onclick = function() {
        if (this.checked) {
            this.parentNode.className = "qxyes";
        } else {
            this.parentNode.className = "qxno";
        }
    }
}	
	
	
}
</script>

<script>
	<!-- 必填项提示
	function CheckInput()
	{
		if(document.getElementById('account').value == ""){art.dialog({title: 'Error',time: 1,icon: 'warning',content: '登录账号不能为空!'});document.getElementById('account').focus();return false;}
		if(document.getElementById('name').value == ""){art.dialog({title: 'Error',time: 1,icon: 'warning',content: '真实姓名不能为空!'});document.getElementById('name').focus();return false;}
		if(document.getElementById('password').value == ""){art.dialog({title: 'Error',time: 1,icon: 'warning',content: '登录密码不能为空!'});document.getElementById('password').focus();return false;}
		if(document.getElementById('password').value != document.getElementById('confirmPWS').value){art.dialog({title: 'Error',time: 1,icon: 'warning',content: '两次输入的密码不一样!'});document.getElementById('password').focus();return false;}
		if(document.getElementById('level').value == ""){art.dialog({title: 'Error',time: 1,icon: 'warning',content: '职位&权限不能为空!'});document.getElementById('level').focus();return false;}
		if(document.getElementById('group').value == ""){art.dialog({title: 'Error',time: 1,icon: 'warning',content: '所在部门不能为空!'});document.getElementById('group').focus();return false;}
		if(document.getElementById('Mobile').value == ""){art.dialog({title: 'Error',time: 1,icon: 'warning',content: '手机号码不能为空!'});document.getElementById('Mobile').focus();return false;}
	}
	-->
	</script>

<div class="fixed_bg_T">
  <div class="MenuboxS">
    <ul>
      <li ><span><a href="user.html?action=User&stype=Edit&sstype=Main&ID=3">员工档案</a></dd></li>
        <li ><span><a href="user_Manage.html?action=User&stype=Edit&sstype=Manage&ID=3">管理范围</a></dd></li>
        <li class="hover"><span><a href="user_Level.html?action=User&stype=Edit&sstype=Level&ID=3">详细权限</a></span></li>
    </ul>
    <div class="clear"></div>
  </div>
</DIV>

<script language=javascript> 
			//全选/反选
			function selectall(id){ //用id区分  
			var tform=document.forms['Level'];  
			for(var i=0;i<tform.length;i++){  
			var e=tform.elements[i];  
			if(e.type=="checkbox" && e.id==id) e.checked=!e.checked;  } }
			</script>
<div class="cssout">
  <form class="layui-form" name="save" id="Level" action="?action=User&stype=Edit&sstype=saveLevel&LaiLu=" method="post" onSubmit="return CheckInput();">
  
  
  
<div class="set-icon">
    <div style="height:30px; line-height:30px; padding-left:10px;"><B style="font-size:14px;">详细权限</B></div>
    
      <ul>
        <li>
          <label><i class="iconfont icon-fcstubiao17 icon-fcstubiao17-bg"></i>客户管理
            <input type="checkbox" name="qxflag15" value="1" checked class="qxon"/>
          </label>
          <div class="u-xxqx">
            <dd>
              <label>查看
                <input type="checkbox" name="qxflag16" value="1" checked class="qxon"/>
              </label>
            </dd>
            <dd>
              <label>新增
                <input type="checkbox" name="qxflag17" value="1" checked class="qxon"/>
              </label>
            </dd>
            <dd>
              <label>修改
                <input type="checkbox" name="qxflag18" value="1" checked class="qxon"/>
              </label>
            </dd>
            <dd>
              <label>删除
                <input type="checkbox" name="qxflag19" value="1"  class="qxon"/>
              </label>
            </dd>
            <dd>
              <label>共享
                <input type="checkbox" name="qxflag10" value="1" checked class="qxon"/>
              </label>
            </dd>
            <dd>
              <label>转移
                <input type="checkbox" name="qxflag12" value="1"  class="qxon"/>
              </label>
            </dd>
          </div>
        </li>
        <li>
          <label><i class="iconfont icon-iconfontguanli icon-iconfontguanli-bg"></i>
              </i>
跟单管理<input type="checkbox" name="qxflag25" value="1" checked class="qxon"/>             </label>
          <div class="u-xxqx">
            <dd>
              <label>查看
                <input type="checkbox" name="qxflag26" value="1" checked class="qxon"/>
              </label>
            </dd>
            <dd>
              <label>新增
                <input type="checkbox" name="qxflag27" value="1" checked class="qxon"/>
              </label>
            </dd>
            <dd>
              <label>修改
                <input type="checkbox" name="qxflag28" value="1" checked class="qxon"/>
              </label>
            </dd>
            <dd>
              <label>删除
                <input type="checkbox" name="qxflag29" value="1"  class="qxon"/>
              </label>
            </dd>
          </div>
        </li>
        <li>
          <label><i class="iconfont icon-tubiao30 icon-tubiao30-bg"></i>订单管理<input type="checkbox" name="qxflag30" value="1" checked class="qxon"/></label>
          <div class="u-xxqx">
            <dd>
              <label>查看
                <input type="checkbox" name="qxflag31" value="1" checked class="qxon"/>
              </label>
            </dd>
            <dd>
              <label>新增
                <input type="checkbox" name="qxflag32" value="1" checked class="qxon"/>
              </label>
            </dd>
            <dd>
              <label>修改
                <input type="checkbox" name="qxflag33" value="1" checked class="qxon"/>
              </label>
            </dd>
            <dd>
              <label>删除
                <input type="checkbox" name="qxflag34" value="1"  class="qxon"/>
              </label>
            </dd>
            <dd>
              <label>处理
                <input type="checkbox" name="qxflag71" value="1"  class="qxon"/>
              </label>
            </dd>
          </div>
        </li>
        <li>
          <label><i class="iconfont icon-hetongguanli icon-hetongguanli-bg"></i>合同管理<input type="checkbox" name="qxflag35" value="1" checked class="qxon"/></label>
          <div class="u-xxqx">
            <dd>
              <label>查看
                <input type="checkbox" name="qxflag36" value="1" checked class="qxon"/>
              </label>
            </dd>
            <dd>
              <label>新增
                <input type="checkbox" name="qxflag37" value="1" checked class="qxon"/>
              </label>
            </dd>
            <dd>
              <label>修改
                <input type="checkbox" name="qxflag38" value="1" checked class="qxon"/>
              </label>
            </dd>
            <dd>
              <label>删除
                <input type="checkbox" name="qxflag39" value="1"  class="qxon"/>
              </label>
            </dd>
            <dd>
              <label>审核
                <input type="checkbox" name="qxflag14" value="1"  class="qxon"/>
              </label>
            </dd>
          </div>
        </li>
        <li>
          <label><i class="iconfont icon-fuwu4 icon-fuwu4-bg"></i>售后管理<input type="checkbox" name="qxflag40" value="1" checked class="qxon"/></label>
          <div class="u-xxqx">
            <dd>
              <label>查看
                <input type="checkbox" name="qxflag41" value="1" checked class="qxon"/>
              </label>
            </dd>
            <dd>
              <label>新增
                <input type="checkbox" name="qxflag42" value="1" checked class="qxon"/>
              </label>
            </dd>
            <dd>
              <label>修改
                <input type="checkbox" name="qxflag43" value="1" checked class="qxon"/>
              </label>
            </dd>
            <dd>
              <label>删除
                <input type="checkbox" name="qxflag44" value="1"  class="qxon"/>
              </label>
            </dd>
            <dd>
              <label>处理
                <input type="checkbox" name="qxflag13" value="1"  class="qxon"/>
              </label>
            </dd>
          </div>
        </li>
        <li>
          <label><i class="iconfont icon-caiwuguanli icon-caiwuguanli-bg"></i>财务管理<input type="checkbox" name="qxflag45" value="1" checked class="qxon"/></label>
          <div class="u-xxqx">
            <dd>
              <label>查看
                <input type="checkbox" name="qxflag46" value="1" checked class="qxon"/>
              </label>
            </dd>
            <dd>
              <label>新增
                <input type="checkbox" name="qxflag47" value="1" checked class="qxon"/>
              </label>
            </dd>
            <dd>
              <label>修改
                <input type="checkbox" name="qxflag48" value="1" checked class="qxon"/>
              </label>
            </dd>
          <dd>
            <label>审核
              <input type="checkbox" name="qxflag2" value="1"  class="qxon"/>
            </label>
          </dd>
          <dd>
            <label>删除
              <input type="checkbox" name="qxflag49" value="1"  class="qxon"/>
            </label>
          </dd>
          </div>
        </li>
          <li>
        <label><i class="iconfont icon-ziyuanku icon-ziyuanku-bg"></i>客户公海
          <input type="checkbox" name="qxflag76" value="1" checked class="qxon"/>
        </label>
          <div class="u-xxqx">
        
          <dd>
          <label style="width:106px;">
        新增/修改
        <input type="checkbox" name="qxflag60" value="1" checked class="qxon"/></label>
          <label style="width:106px;">
        转移/审核
        <input type="checkbox" name="qxflag70" value="1"  class="qxon"/></label>
          </dd>
        
          </div>
        
          </li>
        
        <li>
          <label><i class="iconfont icon-icon15 icon-icon15-bg"></i>回收站
            <input type="checkbox" name="qxflag77" value="1" checked class="qxon"/>
          </label>
        </li>
        <li>
          <label><i class="iconfont icon-chanpin icon-chanpin-bg"></i>商品进销存
            <input type="checkbox" name="qxflag78" value="1" checked class="qxon"/>
          </label>
        <div class="u-xxqx">
          <dd>
            <label>查看
              <input type="checkbox" name="qxflag82" value="1" checked class="qxon"/>
            </label>
          </dd>
          <dd>
            <label>新增
              <input type="checkbox" name="qxflag83" value="1"  class="qxon"/>
            </label>
          </dd>
          <dd>
            <label>修改
              <input type="checkbox" name="qxflag84" value="1"  class="qxon"/>
            </label>
          </dd>
          <dd>
            <label>删除
              <input type="checkbox" name="qxflag85" value="1"  class="qxon"/>
            </label>
          </dd>
          <dd>
            <label>入库
              <input type="checkbox" name="qxflag86" value="1"  class="qxon"/>
            </label>
          </dd>
          <dd>
            <label>看明细
              <input type="checkbox" name="qxflag87" value="1"  class="qxon"/>
            </label>
          </dd>
        </div>
        </li>
        <li>
          <label><i class="iconfont icon-mingpianjia icon-mingpianjia-bg"></i>名片夹<input type="checkbox" name="qxflag20" value="1" checked class="qxon"/></label>
          <div class="u-xxqx">
            <dd>
              <label>查看
                <input type="checkbox" name="qxflag21" value="1" checked class="qxon"/>
              </label>
            </dd>
            <dd>
              <label>新增
                <input type="checkbox" name="qxflag22" value="1" checked class="qxon"/>
              </label>
            </dd>
            <dd>
              <label>修改
                <input type="checkbox" name="qxflag23" value="1" checked class="qxon"/>
              </label>
            </dd>
            <dd>
              <label>删除
                <input type="checkbox" name="qxflag24" value="1"  class="qxon"/>
              </label>
            </dd>
          </div>
        </li>
        <li>
          <label><i class="iconfont icon-tixing icon-tixing-bg"></i>客户生日提醒<input type="checkbox" name="qxflag81" value="1" checked class="qxon"/></label>
        </li>
        <li>
          <label><i class="iconfont icon-shujutongji icon-shujutongji-bg"></i>数据统计
            <input type="checkbox" name="qxflag4" value="1" checked class="qxon"/>
          </label>
        </li>
        <li>
          <label><i class="iconfont icon-email icon-email-bg"></i>邮件管理
            <input type="checkbox" name="qxflag80" value="1" checked class="qxon"/>
          </label>
        </li>
      <li>
        <label><i class="iconfont icon-ht_notice icon-ht_notice-bg"></i>短信管理
          <input type="checkbox" name="qxflag100" value="1" checked class="qxon"/>
        </label>
      </li>
        <li>
          <label><i class="iconfont icon-id-321 icon-id-321-bg"></i>内部公告
            <input type="checkbox" name="qxflag55" value="1" checked class="qxon"/>
          </label>
          <div class="u-xxqx">
            <dd>
              <label>查看
                <input type="checkbox" name="qxflag56" value="1" checked class="qxon"/>
              </label>
            </dd>
            <dd>
              <label>新增
                <input type="checkbox" name="qxflag57" value="1"  class="qxon"/>
              </label>
            </dd>
            <dd>
              <label>修改
                <input type="checkbox" name="qxflag58" value="1"  class="qxon"/>
              </label>
            </dd>
            <dd>
              <label>删除
                <input type="checkbox" name="qxflag59" value="1"  class="qxon"/>
              </label>
            </dd>
          </div>
        </li>
        <li>
          <label><i class="iconfont icon-tongxunlu icon-tongxunlu-bg"></i>内部通讯录
            <input type="checkbox" name="qxflag72" value="1" checked class="qxon"/>
          </label>
        </li>
        <li>
          <label><i class="iconfont icon-baogaoxuanze icon-baogaoxuanze-bg"></i>工作报告<input type="checkbox" name="qxflag65" value="1" checked class="qxon"/></label>
          <div class="u-xxqx">
            <dd>
              <label>查看
                <input type="checkbox" name="qxflag66" value="1" checked class="qxon"/>
              </label>
            </dd>
            <dd>
              <label>新增
                <input type="checkbox" name="qxflag67" value="1" checked class="qxon"/>
              </label>
            </dd>
            <dd>
              <label>批注
                <input type="checkbox" name="qxflag68" value="1"  class="qxon"/>
              </label>
            </dd>
            <dd>
              <label>删除
                <input type="checkbox" name="qxflag69" value="1"  class="qxon"/>
              </label>
            </dd>
          </div>
        </li>
        <li>
          <label><i class="iconfont icon-wenjianjiadakai icon-wenjianjiadakai-bg"></i>文件管理
            <input type="checkbox" name="qxflag50" value="1" checked class="qxon"/>
          </label>
          <div class="u-xxqx">
            <dd>
              <label>查看
                <input type="checkbox" name="qxflag51" value="1" checked class="qxon"/>
              </label>
            </dd>
            <dd>
              <label>新增
                <input type="checkbox" name="qxflag52" value="1" checked class="qxon"/>
              </label>
            </dd>
            <dd>
              <label>修改
                <input type="checkbox" name="qxflag53" value="1" checked class="qxon"/>
              </label>
            </dd>
            <dd>
              <label>删除
                <input type="checkbox" name="qxflag54" value="1"  class="qxon"/>
              </label>
            </dd>
          </div>
        </li>
        <li>
          <label><i class="iconfont icon-role icon-role-bg"></i>员工管理
           <input type="checkbox" name="qxflag99" value="1"  class="qxon"/>
          </label>
        </li>
        <li>
          <label><i class="iconfont icon-dlrz icon-dlrz-bg"></i>登录日志
            <input type="checkbox" name="qxflag73" value="1" checked class="qxon"/>
          </label>
        </li>
        <li>
          <label><i class="iconfont icon-czrz icon-czrz-bg"></i>操作记录
            <input type="checkbox" name="qxflag74" value="1" checked class="qxon"/>
          </label>
        </li>
        <li>
          <label><i class="iconfont icon-daoru icon-daoru-bg"></i>数据导入
            <input type="checkbox" name="qxflag8" value="1"  class="qxon"/>
          </label>
        </li>
        <li>
          <label><i class="iconfont icon-daochu icon-daochu-bg"></i>数据导出
            <input type="checkbox" name="qxflag7" value="1"  class="qxon"/>
          </label>
        </li>
        <li>
          <label><i class="iconfont icon-xitongshezhi icon-xitongshezhi-bg"></i>系统设置
            <input type="checkbox" name="qxflag5" value="1"  class="qxon"/>
          </label>
        </li>
        <li>
          <label><i class="iconfont icon-ht_notice icon-ht_notice-bg"></i>内部信息<input type="checkbox" name="qxflag3" value="1" checked class="qxon"/></label>
          <div class="u-xxqx">
            <dd>
              <label>查看
                <input type="checkbox" name="qxflag61" value="1" checked class="qxon"/>
              </label>
            </dd>
            <dd>
              <label>新增
                <input type="checkbox" name="qxflag62" value="1" checked class="qxon"/>
              </label>
            </dd>
            <dd>
              <label>回复
                <input type="checkbox" name="qxflag63" value="1" checked class="qxon"/>
              </label>
            </dd>
            <dd>
              <label>删除
                <input type="checkbox" name="qxflag64" value="1"  class="qxon"/>
              </label>
            </dd>
          </div>
        </li>
        <li>
          <label><i class="iconfont icon-zdysz icon-zdysz-bg"></i>自定义设置
            <input type="checkbox" name="qxflag6" value="1"  class="qxon"/>
          </label>
        </li>
        <li>
          <label><i class="iconfont icon-piliang icon-piliang-bg"></i>批量操作
            <input type="checkbox" name="qxflag9" value="1" checked class="qxon"/>
          </label>
        </li>
        <li>
          <label><i class="iconfont icon-sousuo icon-sousuo-bg"></i>高级搜索
            <input type="checkbox" name="qxflag11" value="1" checked class="qxon"/>
          </label>
        </li>
        
      <li>
        <label><i class="iconfont icon-gongdan icon-gongdan-bg"></i>工单管理
          <input type="checkbox" name="qxflag88" value="1" checked class="qxon"/>
        </label>
        <div class="u-xxqx">
          <dd>
            <label>新增
              <input type="checkbox" name="qxflag89" value="1" checked class="qxon"/>
            </label>
          </dd>
          <dd>
            <label>修改
              <input type="checkbox" name="qxflag90" value="1" checked class="qxon"/>
            </label>
          </dd>
          <dd>
            <label>处理
              <input type="checkbox" name="qxflag91" value="1"  class="qxon"/>
            </label>
          </dd>
          <dd>
            <label>删除
              <input type="checkbox" name="qxflag92" value="1"  class="qxon"/>
            </label>
          </dd>
        </div>
      </li>
      
      <li>
        <label><i class="iconfont icon-cheliang icon-cheliang-bg"></i>车辆管理
          <input type="checkbox" name="qxflag93" value="1" checked class="qxon"/>
        </label>
        <div class="u-xxqx">
          <dd>
            <label>新增
              <input type="checkbox" name="qxflag94" value="1"  class="qxon"/>
            </label>
          </dd>
          <dd>
            <label>申请
              <input type="checkbox" name="qxflag95" value="1" checked class="qxon"/>
            </label>
          </dd>
          <dd>
            <label>审核
              <input type="checkbox" name="qxflag96" value="1"  class="qxon"/>
            </label>
          </dd>
        </div>
      </li>
      
      <li>
        <label><i class="iconfont icon-tiaopei icon-tiaopei-bg"></i>工作调配
          <input type="checkbox" name="qxflag97" value="1" checked class="qxon"/>
        </label>
        <div class="u-xxqx">
          <dd>
            <label>审核
              <input type="checkbox" name="qxflag98" value="1"  class="qxon"/>
            </label>
          </dd>
        </div>
      </li>
      </ul>
    </div>
  
  
    <script>funqx();</script>
    <div class="h50b"></div>
    <div class="fixed_bg_B">
      <input name="uid" type="hidden" id="uid" value="3">
      <input type="submit" name="Submit" class="btn2 btnbaoc" value="保存">
      <input name="Back" type="button" id="Back" class="btn2 btnguanb" value="关闭" onClick="art.dialog.close();guanbi();">
    </div>
  </form>
</div>

<script src="theme/default/WdatePicker.js"></script> 
<script src="theme/layui/layui.js"></script> 
<script src="theme/desktop/js/common.js"></script>

<script>
/*弹出窗口封装代码*/
$(".open-app").on("click",function(){
	var width = $(this).data("width")?$(this).data("width"):900,//获得宽度
	height = $(this).data("height")?$(this).data("height"):400//获得高度
	url = $(this).attr("href")//获得打开URL
	title = $(this).attr("title");//获得标题	
	$.dialog.open(url, {title: title, width:width,height:height, fixed: true});
	return false;	
})
</script>

</body>
</html>
